﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="BaseSRS._Login" %>
<asp:Content ID="headContent" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h2 class="DDSubHeader">Please LogIn to Continue</h2>

<asp:Login ID="Login" runat="server" 
DestinationPageUrl="~/Requests/List.aspx"
onauthenticate="Login_Authenticate">
<LayoutTemplate>

<table class="SRSGenericPage">
<tr>
<td align="right" valign="top">
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" 
        ViewStateMode="Enabled">User Name:</asp:Label>
</td>
<td align="left">
<asp:TextBox ID="UserName" runat="server" Wrap="False" AutoCompleteType="DisplayName"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server"
ControlToValidate="UserName" ErrorMessage="User Name is required." 
ToolTip="User Name is required." ValidationGroup="Login" CssClass="DDValidator">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" valign="top">
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
</td>
<td align="left">
<asp:TextBox ID="Password" runat="server" TextMode="Password" Wrap="False" ></asp:TextBox>
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
ControlToValidate="Password" ErrorMessage="Password is required." 
ToolTip="Password is required." ValidationGroup="Login" CssClass="DDValidator">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" align="left">
<asp:CheckBox ID="RememberMe" runat="server" Text="Remember my Password."/>
</td>
</tr>
</table>
<asp:LinkButton ID="LoginButton" runat="server" CommandName="Login" ValidationGroup="Login" CssClass="SRSButtonGO" SkinID="SRSLoginButton"><img align="top" src="../../../Images/key.png" alt="Login" border="0"/>&nbsp;Login&nbsp;&nbsp;</asp:LinkButton>
</LayoutTemplate>
</asp:Login>

<asp:Literal runat="server" ID="FailureText" EnableViewState="False"></asp:Literal>
<asp:ValidationSummary ID="Validation" runat="server" />
</asp:Content>